export const SHIFT_TURNOVER = "shift-turnover";
export const SECURITY_PATROL = "security-patrol";
export const WEEKS_CHECK = "weeks-check";
export const MONTH_CHECK = "month-check";
export const SEASON_PATROL = "season-patrol";
export const HOLIDAY_INSPECTION = "holiday-inspection";
export const FLOOD_SEASON_PATROL = "flood-season-patrol";
export const COMPREHENSIVE_INSPECTIONS = "comprehensive-inspections";
export const OTHER_INSPECTIONS = "other-inspections";

const routers = [
    {
        name: SHIFT_TURNOVER,
        path: SHIFT_TURNOVER,
        component: () => import('src/views/safety-management/safety-inspector/ShiftTurnover'),
        meta: {
            label: '交接班',
        },
    },
    {
        name: SECURITY_PATROL,
        path: SECURITY_PATROL,
        component: () => import('src/views/safety-management/safety-inspector/SecurityPatrol'),
        meta: {
            label: '日常巡查',
        },
    },
    {
        name: WEEKS_CHECK,
        path: WEEKS_CHECK,
        component: () => import('src/views/safety-management/safety-inspector/WeeksCheck'),
        meta: {
            label: '周巡查',
        },
    },
    {
        name: MONTH_CHECK,
        path: MONTH_CHECK,
        component: () => import('src/views/safety-management/safety-inspector/MonthCheck'),
        meta: {
            label: '月巡查',
        },
    },
    {
        name: SEASON_PATROL,
        path: SEASON_PATROL,
        component: () => import('src/views/safety-management/safety-inspector/SeasonPatrol'),
        meta: {
            label: '季巡查',
        },
    },
    {
        name: HOLIDAY_INSPECTION,
        path: HOLIDAY_INSPECTION,
        component: () => import('src/views/safety-management/safety-inspector/HolidayInspection'),
        meta: {
            label: '节假日巡查',
        },
    },
    {
        name: FLOOD_SEASON_PATROL,
        path: FLOOD_SEASON_PATROL,
        component: () => import('src/views/safety-management/safety-inspector/FloodSeasonPatrol'),
        meta: {
            label: '汛期巡查',
        },
    },
    {
        name: COMPREHENSIVE_INSPECTIONS,
        path: COMPREHENSIVE_INSPECTIONS,
        component: () => import('src/views/safety-management/safety-inspector/ComprehensiveInspections'),
        meta: {
            label: '综合巡查',
        },
    },
    {
        name: OTHER_INSPECTIONS,
        path: OTHER_INSPECTIONS,
        component: () => import('src/views/safety-management/safety-inspector/OtherInspections'),
        meta: {
            label: '其他巡查',
        },
    },
];

export default routers;
